import math
flag=0
n=float(input('Please input number:'))
for i in range(2,int(math.sqrt(n))):
    if n%i==0:
        flag=1
if flag==1:
    print(f'{n} is NOT aprime nuumber.')
else:
    print(f'{n} is a prime number.')